/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pl.put.dcs_modeler.visualModelEditor.palette;

import org.openide.nodes.AbstractNode;
import org.openide.util.lookup.Lookups;

/**
 *
 * @author Geertjan Wielenga
 */
public class CategoryNode extends AbstractNode
{

    /** Creates a new instance of CategoryNode */
    public CategoryNode( Category category )
    {
        super( new NodeChildren( category ), Lookups.singleton( category ) );
        setDisplayName( category.getName() );
    }
}